#include <QCoreApplication>
#include <iostream>
#include <math.h>
using namespace std;
int main(int argc, char *argv[])
{
    QCoreApplication a(argc, argv);
    double A,s;
        int N;
        cin>>A;
        cin>>N;
        for (int i=1;i<N;i++)
        {
            s = pow(A,i);
            cout<<s<<'\n';
        }
    return a.exec();
}
